[INFO] cloning repository https://github.com/tenondvpn/leaf_new
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tenondvpn/leaf_new" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftenondvpn%2Fleaf_new", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftenondvpn%2Fleaf_new'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 921aa7e68c5149cc6fbed191e3c25fac409b104e
[INFO] checking tenondvpn/leaf_new against try#ebbfb508237d160e7a5e663a930916c87c4a8a45 for pr-106493
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftenondvpn%2Fleaf_new" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/tenondvpn/leaf_new on toolchain ebbfb508237d160e7a5e663a930916c87c4a8a45
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/tenondvpn/leaf_new
[INFO] finished tweaking git repo https://github.com/tenondvpn/leaf_new
[INFO] tweaked toml for git repo https://github.com/tenondvpn/leaf_new written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/tenondvpn/leaf_new already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 67c62a64999a6602819978221dfbcf4c9ef07c6000063286eded0edfc8e39c24
[INFO] running `Command { std: "docker" "start" "-a" "67c62a64999a6602819978221dfbcf4c9ef07c6000063286eded0edfc8e39c24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "67c62a64999a6602819978221dfbcf4c9ef07c6000063286eded0edfc8e39c24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "67c62a64999a6602819978221dfbcf4c9ef07c6000063286eded0edfc8e39c24", kill_on_drop: false }`
[INFO] [stdout] 67c62a64999a6602819978221dfbcf4c9ef07c6000063286eded0edfc8e39c24
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] df149ee639a79020f1dd2f56ef2c8f1cf1f4a3d124aca468173f5e87e128c1cd
[INFO] running `Command { std: "docker" "start" "-a" "df149ee639a79020f1dd2f56ef2c8f1cf1f4a3d124aca468173f5e87e128c1cd", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.91
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]     Checking once_cell v1.10.0
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking slab v0.4.6
[INFO] [stderr]     Checking pin-project-lite v0.2.8
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]     Checking smallvec v1.8.0
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling parking_lot_core v0.9.4
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]     Checking tinyvec v1.5.1
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]    Compiling openssl-src v111.18.0+1.1.1n
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]     Checking futures-io v0.3.21
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking itoa v1.0.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]    Compiling httparse v1.7.0
[INFO] [stderr]     Checking unicode-bidi v0.3.7
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]     Checking http v0.2.6
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking mio v0.8.2
[INFO] [stderr]     Checking getrandom v0.2.6
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]     Checking tracing-core v0.1.26
[INFO] [stderr]     Checking untrusted v0.7.1
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]     Checking tokio-executor v0.1.10
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]    Compiling which v4.2.5
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]     Checking tokio-io v0.1.13
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]     Checking net2 v0.2.38
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]     Checking smallvec v0.6.14
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling unicode-width v0.1.9
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]    Compiling libloading v0.7.3
[INFO] [stderr]    Compiling clang-sys v1.3.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling bindgen v0.59.2
[INFO] [stderr]    Compiling protobuf v2.27.1
[INFO] [stderr]     Checking cpufeatures v0.2.2
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking tokio-sync v0.1.8
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling shlex v1.1.0
[INFO] [stderr]    Compiling rustls v0.20.4
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking tokio-reactor v0.1.12
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]     Checking crossbeam-deque v0.7.4
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]    Compiling unicase v1.4.2
[INFO] [stderr]     Checking http-body v0.4.4
[INFO] [stderr]     Checking tokio-codec v0.1.2
[INFO] [stderr]     Checking block-buffer v0.10.2
[INFO] [stderr]     Checking crypto-common v0.1.3
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]    Compiling async-trait v0.1.53
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling regex v1.5.5
[INFO] [stderr]    Compiling fastrand v1.7.0
[INFO] [stderr]     Checking tower-service v0.3.1
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.8
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]     Checking safemem v0.3.3
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]     Checking tokio-threadpool v0.1.18
[INFO] [stderr]     Checking base64 v0.9.3
[INFO] [stderr]     Checking mime v0.2.6
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]    Compiling protoc v2.27.1
[INFO] [stderr]     Checking rustls-pemfile v0.2.1
[INFO] [stderr]     Checking fxhash v0.2.1
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling anyhow v1.0.57
[INFO] [stderr]    Compiling slash-formatter v3.1.3
[INFO] [stderr]     Checking language-tags v0.2.2
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]     Checking typeable v0.1.2
[INFO] [stderr]    Compiling env_logger v0.9.0
[INFO] [stderr]     Checking traitobject v0.1.0
[INFO] [stderr]     Checking crypto-mac v0.11.1
[INFO] [stderr]     Checking hyper v0.10.16
[INFO] [stderr]     Checking webpki v0.22.0
[INFO] [stderr]     Checking sct v0.7.0
[INFO] [stderr]     Checking tokio-uds v0.2.7
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking sha-1 v0.10.0
[INFO] [stderr]     Checking tokio-fs v0.1.7
[INFO] [stderr]     Checking tokio-udp v0.1.6
[INFO] [stderr]     Checking sha-1 v0.9.8
[INFO] [stderr]     Checking tokio-tcp v0.1.4
[INFO] [stderr]     Checking headers-core v0.2.0
[INFO] [stderr]     Checking tokio-timer v0.2.13
[INFO] [stderr]     Checking tokio-current-thread v0.1.7
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]     Checking inotify-sys v0.1.5
[INFO] [stderr]     Checking concat-with v0.2.8
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]     Checking utf-8 v0.7.6
[INFO] [stderr]     Checking ipnet v2.5.0
[INFO] [stderr]    Compiling tokio-openssl v0.6.3
[INFO] [stderr]     Checking antidote v1.0.0
[INFO] [stderr]     Checking tokio v0.1.22
[INFO] [stderr]     Checking walkdir v2.3.2
[INFO] [stderr]    Compiling protobuf-codegen v2.27.1
[INFO] [stderr]     Checking inotify v0.9.6
[INFO] [stderr]     Checking headers v0.3.7
[INFO] [stderr]     Checking crossbeam-channel v0.5.4
[INFO] [stderr]     Checking hmac v0.11.0
[INFO] [stderr]     Checking colored v1.9.3
[INFO] [stderr]     Checking dirs-sys v0.3.7
[INFO] [stderr]     Checking memmap2 v0.3.1
[INFO] [stderr]     Checking filetime v0.2.16
[INFO] [stderr]     Checking pnet_sys v0.28.0
[INFO] [stderr]     Checking ioctl-sys v0.6.0
[INFO] [stderr]     Checking scoped-tls v0.1.2
[INFO] [stderr]     Checking data-encoding v2.3.2
[INFO] [stderr]     Checking pnet_base v0.28.0
[INFO] [stderr]     Checking scoped-tls v1.0.0
[INFO] [stderr]     Checking bitstring v0.1.2
[INFO] [stderr]     Checking tokio-core v0.1.18
[INFO] [stderr]     Checking notify v5.0.0-pre.14
[INFO] [stderr]     Checking directories v4.0.1
[INFO] [stderr]     Checking cidr v0.1.1
[INFO] [stderr]     Checking fern v0.6.1
[INFO] [stderr]     Checking hkdf v0.11.0
[INFO] [stderr]     Checking webpki-roots v0.22.3
[INFO] [stderr]     Checking colored v2.0.0
[INFO] [stderr]     Checking md-5 v0.9.1
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking lru v0.7.5
[INFO] [stderr]     Checking lru_time_cache v0.11.11
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]    Compiling protoc-rust v2.27.1
[INFO] [stderr]     Checking async-ffi v0.2.1
[INFO] [stderr]     Checking yasna v0.4.0
[INFO] [stderr]     Checking pem v1.0.2
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]    Compiling argh_shared v0.1.7
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking rcgen v0.8.14
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling futures-macro v0.3.21
[INFO] [stderr]    Compiling tracing-attributes v0.1.20
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling enum-ordinalize v3.1.12
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]    Compiling enum-as-inner v0.3.4
[INFO] [stderr]    Compiling argh_derive v0.1.7
[INFO] [stderr]     Checking tokio v1.17.0
[INFO] [stderr]    Compiling educe v0.4.20
[INFO] [stderr]     Checking tracing v0.1.34
[INFO] [stderr]    Compiling netstack-lwip v0.3.1 (https://github.com/eycorsican/netstack-lwip.git?tag=v0.3.1#4252f28c)
[INFO] [stderr]    Compiling leaf v0.1.2 (/opt/rustwide/workdir/leaf)
[INFO] [stderr]     Checking thiserror v1.0.30
[INFO] [stderr]     Checking pin-project v1.0.10
[INFO] [stderr]     Checking quinn-proto v0.8.2
[INFO] [stderr]     Checking tungstenite v0.16.0
[INFO] [stderr]     Checking argh v0.1.7
[INFO] [stderr]     Checking futures-executor v0.3.21
[INFO] [stderr]     Checking trust-dns-proto v0.20.4
[INFO] [stderr]     Checking futures v0.3.21
[INFO] [stderr]     Checking tokio-util v0.7.1
[INFO] [stderr]     Checking tokio-util v0.6.9
[INFO] [stderr]     Checking tokio-stream v0.1.8
[INFO] [stderr]     Checking async-socks5 v0.5.1
[INFO] [stderr]     Checking tokio-tungstenite v0.16.1
[INFO] [stderr]     Checking tokio-rustls v0.23.3
[INFO] [stderr]     Checking h2 v0.3.13
[INFO] [stderr]     Checking tun v0.5.1 (https://github.com/eycorsican/rust-tun.git?branch=upgrade#1ada024a)
[INFO] [stderr]     Checking quinn-udp v0.1.1
[INFO] [stderr]     Checking quinn v0.8.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking ipnetwork v0.18.0
[INFO] [stderr]     Checking maxminddb v0.21.0
[INFO] [stderr]     Checking pnet_datalink v0.28.0
[INFO] [stderr]     Checking hyper v0.14.18
[INFO] [stderr]     Checking warp v0.3.2
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking hyper-native-tls v0.3.0
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking easy-http-request v0.2.13
[INFO] [stderr]     Checking reqwest v0.11.13
[INFO] [stdout] error[E0428]: the name `aead` is defined multiple times
[INFO] [stdout]    --> leaf/src/common/crypto.rs:208:1
[INFO] [stdout]     |
[INFO] [stdout] 44  | pub mod aead {
[INFO] [stdout]     | ------------ previous definition of the module `aead` here
[INFO] [stdout] ...
[INFO] [stdout] 208 | pub mod aead {
[INFO] [stdout]     | ^^^^^^^^^^^^ `aead` redefined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `aead` must be defined only once in the type namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `aead` is defined multiple times
[INFO] [stdout]    --> leaf/src/common/crypto.rs:208:1
[INFO] [stdout]     |
[INFO] [stdout] 44  | pub mod aead {
[INFO] [stdout]     | ------------ previous definition of the module `aead` here
[INFO] [stdout] ...
[INFO] [stdout] 208 | pub mod aead {
[INFO] [stdout]     | ^^^^^^^^^^^^ `aead` redefined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `aead` must be defined only once in the type namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::panic`
[INFO] [stdout]  --> leaf/src/common/sync_valid_routes.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::panic;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::panic`
[INFO] [stdout]  --> leaf/src/common/sync_valid_routes.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::panic;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/common/sync_valid_routes.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 |     if (*v > 0) {
[INFO] [stdout]    |        ^      ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 18 -     if (*v > 0) {
[INFO] [stdout] 18 +     if *v > 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> leaf/src/common/sync_valid_routes.rs:29:15
[INFO] [stdout]    |
[INFO] [stdout] 29 |         while (true) {
[INFO] [stdout]    |               ^    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 29 -         while (true) {
[INFO] [stdout] 29 +         while true {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: denote infinite loops with `loop { ... }`
[INFO] [stdout]   --> leaf/src/common/sync_valid_routes.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         while (true) {
[INFO] [stdout]    |         ^^^^^^^^^^^ help: use `loop`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(while_true)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/common/sync_valid_routes.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 |     if (*v > 0) {
[INFO] [stdout]    |        ^      ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 18 -     if (*v > 0) {
[INFO] [stdout] 18 +     if *v > 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/common/sync_valid_routes.rs:39:24
[INFO] [stdout]    |
[INFO] [stdout] 39 |                     if (tmp_vec.len() >= 5 && res.starts_with("https")) {
[INFO] [stdout]    |                        ^                                              ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 39 -                     if (tmp_vec.len() >= 5 && res.starts_with("https")) {
[INFO] [stdout] 39 +                     if tmp_vec.len() >= 5 && res.starts_with("https") {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> leaf/src/common/sync_valid_routes.rs:29:15
[INFO] [stdout]    |
[INFO] [stdout] 29 |         while (true) {
[INFO] [stdout]    |               ^    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 29 -         while (true) {
[INFO] [stdout] 29 +         while true {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/common/sync_valid_routes.rs:45:28
[INFO] [stdout]    |
[INFO] [stdout] 45 |                         if (used_bw != 0 && used_bw >= all_bw) {
[INFO] [stdout]    |                            ^                                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 45 -                         if (used_bw != 0 && used_bw >= all_bw) {
[INFO] [stdout] 45 +                         if used_bw != 0 && used_bw >= all_bw {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: denote infinite loops with `loop { ... }`
[INFO] [stdout]   --> leaf/src/common/sync_valid_routes.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         while (true) {
[INFO] [stdout]    |         ^^^^^^^^^^^ help: use `loop`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(while_true)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/common/sync_valid_routes.rs:39:24
[INFO] [stdout]    |
[INFO] [stdout] 39 |                     if (tmp_vec.len() >= 5 && res.starts_with("https")) {
[INFO] [stdout]    |                        ^                                              ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 39 -                     if (tmp_vec.len() >= 5 && res.starts_with("https")) {
[INFO] [stdout] 39 +                     if tmp_vec.len() >= 5 && res.starts_with("https") {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/common/sync_valid_routes.rs:45:28
[INFO] [stdout]    |
[INFO] [stdout] 45 |                         if (used_bw != 0 && used_bw >= all_bw) {
[INFO] [stdout]    |                            ^                                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 45 -                         if (used_bw != 0 && used_bw >= all_bw) {
[INFO] [stdout] 45 +                         if used_bw != 0 && used_bw >= all_bw {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Bytes`
[INFO] [stdout]  --> leaf/src/proxy/shadowsocks/outbound/tcp.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | use bytes::{BufMut, Bytes, BytesMut};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/tcp.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 |         if (vec.len() >= 7 && vec[5].parse::<u32>().unwrap() != 0) {
[INFO] [stdout]    |            ^                                                     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 35 -         if (vec.len() >= 7 && vec[5].parse::<u32>().unwrap() != 0) {
[INFO] [stdout] 35 +         if vec.len() >= 7 && vec[5].parse::<u32>().unwrap() != 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/tcp.rs:39:16
[INFO] [stdout]    |
[INFO] [stdout] 39 |             if (route_vec.len() >= 2) {
[INFO] [stdout]    |                ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 39 -             if (route_vec.len() >= 2) {
[INFO] [stdout] 39 +             if route_vec.len() >= 2 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/tcp.rs:44:20
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 if (ip_port_vec.len() >= 2) {
[INFO] [stdout]    |                    ^                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 44 -                 if (ip_port_vec.len() >= 2) {
[INFO] [stdout] 44 +                 if ip_port_vec.len() >= 2 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/tcp.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |         if (use_dynamic == false) {
[INFO] [stdout]    |            ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 52 -         if (use_dynamic == false) {
[INFO] [stdout] 52 +         if use_dynamic == false {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/tcp.rs:86:12
[INFO] [stdout]    |
[INFO] [stdout] 86 |         if (vec.len() >= 7) {
[INFO] [stdout]    |            ^              ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 86 -         if (vec.len() >= 7) {
[INFO] [stdout] 86 +         if vec.len() >= 7 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/tcp.rs:88:16
[INFO] [stdout]    |
[INFO] [stdout] 88 |             if (ex_r_ip != 0) {
[INFO] [stdout]    |                ^            ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 88 -             if (ex_r_ip != 0) {
[INFO] [stdout] 88 +             if ex_r_ip != 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/tcp.rs:91:20
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 if (route_vec.len() >= 2) {
[INFO] [stdout]    |                    ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 91 -                 if (route_vec.len() >= 2) {
[INFO] [stdout] 91 +                 if route_vec.len() >= 2 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Bytes`
[INFO] [stdout]  --> leaf/src/proxy/shadowsocks/outbound/tcp.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | use bytes::{BufMut, Bytes, BytesMut};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/tcp.rs:96:24
[INFO] [stdout]    |
[INFO] [stdout] 96 |                     if (ip_port_vec.len() >= 2) {
[INFO] [stdout]    |                        ^                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 96 -                     if (ip_port_vec.len() >= 2) {
[INFO] [stdout] 96 +                     if ip_port_vec.len() >= 2 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/tcp.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 |         if (vec.len() >= 7 && vec[5].parse::<u32>().unwrap() != 0) {
[INFO] [stdout]    |            ^                                                     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 35 -         if (vec.len() >= 7 && vec[5].parse::<u32>().unwrap() != 0) {
[INFO] [stdout] 35 +         if vec.len() >= 7 && vec[5].parse::<u32>().unwrap() != 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> leaf/src/proxy/shadowsocks/outbound/tcp.rs:114:20
[INFO] [stdout]     |
[INFO] [stdout] 114 |                 if (head_size == 6) {
[INFO] [stdout]     |                    ^              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 114 -                 if (head_size == 6) {
[INFO] [stdout] 114 +                 if head_size == 6 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/tcp.rs:39:16
[INFO] [stdout]    |
[INFO] [stdout] 39 |             if (route_vec.len() >= 2) {
[INFO] [stdout]    |                ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 39 -             if (route_vec.len() >= 2) {
[INFO] [stdout] 39 +             if route_vec.len() >= 2 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/udp.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 |         if (vec.len() >= 7 && vec[5].parse::<u32>().unwrap() != 0) {
[INFO] [stdout]    |            ^                                                     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 36 -         if (vec.len() >= 7 && vec[5].parse::<u32>().unwrap() != 0) {
[INFO] [stdout] 36 +         if vec.len() >= 7 && vec[5].parse::<u32>().unwrap() != 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/tcp.rs:44:20
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 if (ip_port_vec.len() >= 2) {
[INFO] [stdout]    |                    ^                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 44 -                 if (ip_port_vec.len() >= 2) {
[INFO] [stdout] 44 +                 if ip_port_vec.len() >= 2 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/udp.rs:40:16
[INFO] [stdout]    |
[INFO] [stdout] 40 |             if (route_vec.len() >= 2) {
[INFO] [stdout]    |                ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 40 -             if (route_vec.len() >= 2) {
[INFO] [stdout] 40 +             if route_vec.len() >= 2 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/udp.rs:43:20
[INFO] [stdout]    |
[INFO] [stdout] 43 |                 if (ip_port_vec.len() >= 2) {
[INFO] [stdout]    |                    ^                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 43 -                 if (ip_port_vec.len() >= 2) {
[INFO] [stdout] 43 +                 if ip_port_vec.len() >= 2 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/tcp.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |         if (use_dynamic == false) {
[INFO] [stdout]    |            ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 52 -         if (use_dynamic == false) {
[INFO] [stdout] 52 +         if use_dynamic == false {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/udp.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 |         if (use_dynamic == false) {
[INFO] [stdout]    |            ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 51 -         if (use_dynamic == false) {
[INFO] [stdout] 51 +         if use_dynamic == false {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/tcp.rs:86:12
[INFO] [stdout]    |
[INFO] [stdout] 86 |         if (vec.len() >= 7) {
[INFO] [stdout]    |            ^              ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 86 -         if (vec.len() >= 7) {
[INFO] [stdout] 86 +         if vec.len() >= 7 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/tcp.rs:88:16
[INFO] [stdout]    |
[INFO] [stdout] 88 |             if (ex_r_ip != 0) {
[INFO] [stdout]    |                ^            ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 88 -             if (ex_r_ip != 0) {
[INFO] [stdout] 88 +             if ex_r_ip != 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/udp.rs:90:12
[INFO] [stdout]    |
[INFO] [stdout] 90 |         if (vec.len() >= 7 && vec[5].parse::<u32>().unwrap() != 0) {
[INFO] [stdout]    |            ^                                                     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 90 -         if (vec.len() >= 7 && vec[5].parse::<u32>().unwrap() != 0) {
[INFO] [stdout] 90 +         if vec.len() >= 7 && vec[5].parse::<u32>().unwrap() != 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/tcp.rs:91:20
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 if (route_vec.len() >= 2) {
[INFO] [stdout]    |                    ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 91 -                 if (route_vec.len() >= 2) {
[INFO] [stdout] 91 +                 if route_vec.len() >= 2 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/udp.rs:94:16
[INFO] [stdout]    |
[INFO] [stdout] 94 |             if (route_vec.len() >= 2) {
[INFO] [stdout]    |                ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 94 -             if (route_vec.len() >= 2) {
[INFO] [stdout] 94 +             if route_vec.len() >= 2 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/tcp.rs:96:24
[INFO] [stdout]    |
[INFO] [stdout] 96 |                     if (ip_port_vec.len() >= 2) {
[INFO] [stdout]    |                        ^                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 96 -                     if (ip_port_vec.len() >= 2) {
[INFO] [stdout] 96 +                     if ip_port_vec.len() >= 2 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/udp.rs:97:20
[INFO] [stdout]    |
[INFO] [stdout] 97 |                 if (ip_port_vec.len() >= 2) {
[INFO] [stdout]    |                    ^                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 97 -                 if (ip_port_vec.len() >= 2) {
[INFO] [stdout] 97 +                 if ip_port_vec.len() >= 2 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> leaf/src/proxy/shadowsocks/outbound/tcp.rs:114:20
[INFO] [stdout]     |
[INFO] [stdout] 114 |                 if (head_size == 6) {
[INFO] [stdout]     |                    ^              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 114 -                 if (head_size == 6) {
[INFO] [stdout] 114 +                 if head_size == 6 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> leaf/src/proxy/shadowsocks/outbound/udp.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 |         if (!use_dynamic) {
[INFO] [stdout]     |            ^            ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 105 -         if (!use_dynamic) {
[INFO] [stdout] 105 +         if !use_dynamic {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> leaf/src/proxy/shadowsocks/outbound/udp.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout] 133 |         if (vec.len() >= 7) {
[INFO] [stdout]     |            ^              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 133 -         if (vec.len() >= 7) {
[INFO] [stdout] 133 +         if vec.len() >= 7 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/udp.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 |         if (vec.len() >= 7 && vec[5].parse::<u32>().unwrap() != 0) {
[INFO] [stdout]    |            ^                                                     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 36 -         if (vec.len() >= 7 && vec[5].parse::<u32>().unwrap() != 0) {
[INFO] [stdout] 36 +         if vec.len() >= 7 && vec[5].parse::<u32>().unwrap() != 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/udp.rs:40:16
[INFO] [stdout]    |
[INFO] [stdout] 40 |             if (route_vec.len() >= 2) {
[INFO] [stdout]    |                ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 40 -             if (route_vec.len() >= 2) {
[INFO] [stdout] 40 +             if route_vec.len() >= 2 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> leaf/src/proxy/shadowsocks/outbound/udp.rs:249:12
[INFO] [stdout]     |
[INFO] [stdout] 249 |         if (platform.eq("tst")) {
[INFO] [stdout]     |            ^                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 249 -         if (platform.eq("tst")) {
[INFO] [stdout] 249 +         if platform.eq("tst") {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/udp.rs:43:20
[INFO] [stdout]    |
[INFO] [stdout] 43 |                 if (ip_port_vec.len() >= 2) {
[INFO] [stdout]    |                    ^                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 43 -                 if (ip_port_vec.len() >= 2) {
[INFO] [stdout] 43 +                 if ip_port_vec.len() >= 2 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> leaf/src/proxy/shadowsocks/outbound/udp.rs:260:12
[INFO] [stdout]     |
[INFO] [stdout] 260 |         if (self.ex_route_ip != 0) {
[INFO] [stdout]     |            ^                     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 260 -         if (self.ex_route_ip != 0) {
[INFO] [stdout] 260 +         if self.ex_route_ip != 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/udp.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 |         if (use_dynamic == false) {
[INFO] [stdout]    |            ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 51 -         if (use_dynamic == false) {
[INFO] [stdout] 51 +         if use_dynamic == false {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> leaf/src/proxy/shadowsocks/outbound/udp.rs:264:16
[INFO] [stdout]     |
[INFO] [stdout] 264 |             if (route_vec.len() >= 2) {
[INFO] [stdout]     |                ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 264 -             if (route_vec.len() >= 2) {
[INFO] [stdout] 264 +             if route_vec.len() >= 2 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> leaf/src/proxy/shadowsocks/outbound/udp.rs:267:20
[INFO] [stdout]     |
[INFO] [stdout] 267 |                 if (ip_port_vec.len() >= 2) {
[INFO] [stdout]     |                    ^                      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 267 -                 if (ip_port_vec.len() >= 2) {
[INFO] [stdout] 267 +                 if ip_port_vec.len() >= 2 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/udp.rs:90:12
[INFO] [stdout]    |
[INFO] [stdout] 90 |         if (vec.len() >= 7 && vec[5].parse::<u32>().unwrap() != 0) {
[INFO] [stdout]    |            ^                                                     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 90 -         if (vec.len() >= 7 && vec[5].parse::<u32>().unwrap() != 0) {
[INFO] [stdout] 90 +         if vec.len() >= 7 && vec[5].parse::<u32>().unwrap() != 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> leaf/src/proxy/shadowsocks/outbound/udp.rs:270:24
[INFO] [stdout]     |
[INFO] [stdout] 270 |                     if (ip_split.len() >= 4) {
[INFO] [stdout]     |                        ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 270 -                     if (ip_split.len() >= 4) {
[INFO] [stdout] 270 +                     if ip_split.len() >= 4 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/udp.rs:94:16
[INFO] [stdout]    |
[INFO] [stdout] 94 |             if (route_vec.len() >= 2) {
[INFO] [stdout]    |                ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 94 -             if (route_vec.len() >= 2) {
[INFO] [stdout] 94 +             if route_vec.len() >= 2 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> leaf/src/proxy/shadowsocks/outbound/udp.rs:288:16
[INFO] [stdout]     |
[INFO] [stdout] 288 |             if (!use_dynamic_route) {
[INFO] [stdout]     |                ^                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 288 -             if (!use_dynamic_route) {
[INFO] [stdout] 288 +             if !use_dynamic_route {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> leaf/src/proxy/shadowsocks/outbound/udp.rs:97:20
[INFO] [stdout]    |
[INFO] [stdout] 97 |                 if (ip_port_vec.len() >= 2) {
[INFO] [stdout]    |                    ^                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 97 -                 if (ip_port_vec.len() >= 2) {
[INFO] [stdout] 97 +                 if ip_port_vec.len() >= 2 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> leaf/src/proxy/shadowsocks/outbound/udp.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 |         if (!use_dynamic) {
[INFO] [stdout]     |            ^            ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 105 -         if (!use_dynamic) {
[INFO] [stdout] 105 +         if !use_dynamic {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> leaf/src/proxy/shadowsocks/outbound/udp.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout] 133 |         if (vec.len() >= 7) {
[INFO] [stdout]     |            ^              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 133 -         if (vec.len() >= 7) {
[INFO] [stdout] 133 +         if vec.len() >= 7 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> leaf/src/proxy/shadowsocks/outbound/udp.rs:249:12
[INFO] [stdout]     |
[INFO] [stdout] 249 |         if (platform.eq("tst")) {
[INFO] [stdout]     |            ^                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 249 -         if (platform.eq("tst")) {
[INFO] [stdout] 249 +         if platform.eq("tst") {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> leaf/src/proxy/shadowsocks/outbound/udp.rs:260:12
[INFO] [stdout]     |
[INFO] [stdout] 260 |         if (self.ex_route_ip != 0) {
[INFO] [stdout]     |            ^                     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 260 -         if (self.ex_route_ip != 0) {
[INFO] [stdout] 260 +         if self.ex_route_ip != 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> leaf/src/proxy/shadowsocks/outbound/udp.rs:264:16
[INFO] [stdout]     |
[INFO] [stdout] 264 |             if (route_vec.len() >= 2) {
[INFO] [stdout]     |                ^                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 264 -             if (route_vec.len() >= 2) {
[INFO] [stdout] 264 +             if route_vec.len() >= 2 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> leaf/src/proxy/shadowsocks/outbound/udp.rs:267:20
[INFO] [stdout]     |
[INFO] [stdout] 267 |                 if (ip_port_vec.len() >= 2) {
[INFO] [stdout]     |                    ^                      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 267 -                 if (ip_port_vec.len() >= 2) {
[INFO] [stdout] 267 +                 if ip_port_vec.len() >= 2 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> leaf/src/proxy/shadowsocks/outbound/udp.rs:270:24
[INFO] [stdout]     |
[INFO] [stdout] 270 |                     if (ip_split.len() >= 4) {
[INFO] [stdout]     |                        ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 270 -                     if (ip_split.len() >= 4) {
[INFO] [stdout] 270 +                     if ip_split.len() >= 4 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> leaf/src/proxy/shadowsocks/outbound/udp.rs:288:16
[INFO] [stdout]     |
[INFO] [stdout] 288 |             if (!use_dynamic_route) {
[INFO] [stdout]     |                ^                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 288 -             if (!use_dynamic_route) {
[INFO] [stdout] 288 +             if !use_dynamic_route {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> leaf/src/proxy/tls/inbound/tcp.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |             Ok(Self { acceptor })
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `Result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `std::result::Result<tls::inbound::tcp::Handler, _>`
[INFO] [stdout] help: you might have meant to return this value
[INFO] [stdout]    |
[INFO] [stdout] 52 |             return Ok(Self { acceptor });
[INFO] [stdout]    |             ++++++                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> leaf/src/proxy/tls/inbound/tcp.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 | /             Ok(InboundTransport::Stream(
[INFO] [stdout] 72 | |                 Box::new(self.acceptor.accept(stream).await?),
[INFO] [stdout] 73 | |                 sess,
[INFO] [stdout] 74 | |             ))
[INFO] [stdout]    | |______________^ expected `()`, found enum `Result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `std::result::Result<proxy::InboundTransport<Box<tokio_rustls::server::TlsStream<Box<dyn proxy::ProxyStream>>>, _>, _>`
[INFO] [stdout] note: return type inferred to be `()` here
[INFO] [stdout]   --> leaf/src/proxy/tls/inbound/tcp.rs:68:76
[INFO] [stdout]    |
[INFO] [stdout] 68 |       ) -> std::io::Result<InboundTransport<Self::TStream, Self::TDatagram>> {
[INFO] [stdout]    |  ____________________________________________________________________________^
[INFO] [stdout] 69 | |         #[cfg(feature = "rustls-tls")]
[INFO] [stdout] 70 | |         {
[INFO] [stdout] 71 | |             Ok(InboundTransport::Stream(
[INFO] [stdout] ...  |
[INFO] [stdout] 78 | |         unimplemented!();
[INFO] [stdout] 79 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `ssl_connector` in initializer of `tls::outbound::tcp::Handler`
[INFO] [stdout]   --> leaf/src/proxy/tls/outbound/tcp.rs:78:16
[INFO] [stdout]    |
[INFO] [stdout] 78 |             Ok(Handler {
[INFO] [stdout]    |                ^^^^^^^ missing `ssl_connector`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> leaf/src/proxy/tls/inbound/tcp.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |             Ok(Self { acceptor })
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `Result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `std::result::Result<tls::inbound::tcp::Handler, _>`
[INFO] [stdout] help: you might have meant to return this value
[INFO] [stdout]    |
[INFO] [stdout] 52 |             return Ok(Self { acceptor });
[INFO] [stdout]    |             ++++++                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> leaf/src/proxy/tls/outbound/tcp.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 | /             Ok(Handler {
[INFO] [stdout] 79 | |                 server_name,
[INFO] [stdout] 80 | |                 tls_config: Arc::new(config),
[INFO] [stdout] 81 | |             })
[INFO] [stdout]    | |______________^ expected `()`, found enum `Result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `std::result::Result<tls::outbound::tcp::Handler, _>`
[INFO] [stdout] help: you might have meant to return this value
[INFO] [stdout]    |
[INFO] [stdout] 78 ~             return Ok(Handler {
[INFO] [stdout] 79 |                 server_name,
[INFO] [stdout] 80 |                 tls_config: Arc::new(config),
[INFO] [stdout] 81 ~             });
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> leaf/src/proxy/tls/inbound/tcp.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 | /             Ok(InboundTransport::Stream(
[INFO] [stdout] 72 | |                 Box::new(self.acceptor.accept(stream).await?),
[INFO] [stdout] 73 | |                 sess,
[INFO] [stdout] 74 | |             ))
[INFO] [stdout]    | |______________^ expected `()`, found enum `Result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `std::result::Result<proxy::InboundTransport<Box<tokio_rustls::server::TlsStream<Box<dyn proxy::ProxyStream>>>, _>, _>`
[INFO] [stdout] note: return type inferred to be `()` here
[INFO] [stdout]   --> leaf/src/proxy/tls/inbound/tcp.rs:68:76
[INFO] [stdout]    |
[INFO] [stdout] 68 |       ) -> std::io::Result<InboundTransport<Self::TStream, Self::TDatagram>> {
[INFO] [stdout]    |  ____________________________________________________________________________^
[INFO] [stdout] 69 | |         #[cfg(feature = "rustls-tls")]
[INFO] [stdout] 70 | |         {
[INFO] [stdout] 71 | |             Ok(InboundTransport::Stream(
[INFO] [stdout] ...  |
[INFO] [stdout] 78 | |         unimplemented!();
[INFO] [stdout] 79 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `tls_config` in initializer of `tls::outbound::tcp::Handler`
[INFO] [stdout]    --> leaf/src/proxy/tls/outbound/tcp.rs:100:16
[INFO] [stdout]     |
[INFO] [stdout] 100 |             Ok(Handler {
[INFO] [stdout]     |                ^^^^^^^ missing `tls_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `ssl_connector` in initializer of `tls::outbound::tcp::Handler`
[INFO] [stdout]   --> leaf/src/proxy/tls/outbound/tcp.rs:78:16
[INFO] [stdout]    |
[INFO] [stdout] 78 |             Ok(Handler {
[INFO] [stdout]    |                ^^^^^^^ missing `ssl_connector`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> leaf/src/proxy/tls/outbound/tcp.rs:143:17
[INFO] [stdout]     |
[INFO] [stdout] 135 | /         if let Some(stream) = stream {
[INFO] [stdout] 136 | |             #[cfg(feature = "rustls-tls")]
[INFO] [stdout] 137 | |             {
[INFO] [stdout] 138 | |                 let connector = TlsConnector::from(self.tls_config.clone());
[INFO] [stdout] ...   |
[INFO] [stdout] 143 | |                 Ok(Box::new(tls_stream))
[INFO] [stdout]     | |                 ^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `Result`
[INFO] [stdout] ...   |
[INFO] [stdout] 160 | |             Err(io::Error::new(io::ErrorKind::Other, "invalid tls input"))
[INFO] [stdout] 161 | |         }
[INFO] [stdout]     | |_________- expected this to be `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected unit type `()`
[INFO] [stdout]                     found enum `std::result::Result<Box<tokio_rustls::client::TlsStream<Box<dyn proxy::ProxyStream>>>, _>`
[INFO] [stdout] note: return type inferred to be `()` here
[INFO] [stdout]    --> leaf/src/proxy/tls/outbound/tcp.rs:127:35
[INFO] [stdout]     |
[INFO] [stdout] 127 |       ) -> io::Result<Self::Stream> {
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 128 | |         // TODO optimize, dont need copy
[INFO] [stdout] 129 | |         let name = if !&self.server_name.is_empty() {
[INFO] [stdout] 130 | |             self.server_name.clone()
[INFO] [stdout] ...   |
[INFO] [stdout] 161 | |         }
[INFO] [stdout] 162 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]     |
[INFO] [stdout] 143 |                 Ok(Box::new(tls_stream));
[INFO] [stdout]     |                                         +
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]     |
[INFO] [stdout] 161 |         };
[INFO] [stdout]     |          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> leaf/src/proxy/tls/outbound/tcp.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 | /             Ok(Handler {
[INFO] [stdout] 79 | |                 server_name,
[INFO] [stdout] 80 | |                 tls_config: Arc::new(config),
[INFO] [stdout] 81 | |             })
[INFO] [stdout]    | |______________^ expected `()`, found enum `Result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `std::result::Result<tls::outbound::tcp::Handler, _>`
[INFO] [stdout] help: you might have meant to return this value
[INFO] [stdout]    |
[INFO] [stdout] 78 ~             return Ok(Handler {
[INFO] [stdout] 79 |                 server_name,
[INFO] [stdout] 80 |                 tls_config: Arc::new(config),
[INFO] [stdout] 81 ~             });
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `tls_config` in initializer of `tls::outbound::tcp::Handler`
[INFO] [stdout]    --> leaf/src/proxy/tls/outbound/tcp.rs:100:16
[INFO] [stdout]     |
[INFO] [stdout] 100 |             Ok(Handler {
[INFO] [stdout]     |                ^^^^^^^ missing `tls_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> leaf/src/proxy/tls/outbound/tcp.rs:143:17
[INFO] [stdout]     |
[INFO] [stdout] 135 | /         if let Some(stream) = stream {
[INFO] [stdout] 136 | |             #[cfg(feature = "rustls-tls")]
[INFO] [stdout] 137 | |             {
[INFO] [stdout] 138 | |                 let connector = TlsConnector::from(self.tls_config.clone());
[INFO] [stdout] ...   |
[INFO] [stdout] 143 | |                 Ok(Box::new(tls_stream))
[INFO] [stdout]     | |                 ^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `Result`
[INFO] [stdout] ...   |
[INFO] [stdout] 160 | |             Err(io::Error::new(io::ErrorKind::Other, "invalid tls input"))
[INFO] [stdout] 161 | |         }
[INFO] [stdout]     | |_________- expected this to be `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected unit type `()`
[INFO] [stdout]                     found enum `std::result::Result<Box<tokio_rustls::client::TlsStream<Box<dyn proxy::ProxyStream>>>, _>`
[INFO] [stdout] note: return type inferred to be `()` here
[INFO] [stdout]    --> leaf/src/proxy/tls/outbound/tcp.rs:127:35
[INFO] [stdout]     |
[INFO] [stdout] 127 |       ) -> io::Result<Self::Stream> {
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 128 | |         // TODO optimize, dont need copy
[INFO] [stdout] 129 | |         let name = if !&self.server_name.is_empty() {
[INFO] [stdout] 130 | |             self.server_name.clone()
[INFO] [stdout] ...   |
[INFO] [stdout] 161 | |         }
[INFO] [stdout] 162 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]     |
[INFO] [stdout] 143 |                 Ok(Box::new(tls_stream));
[INFO] [stdout]     |                                         +
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]     |
[INFO] [stdout] 161 |         };
[INFO] [stdout]     |          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 31 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0428.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `leaf` due to 8 previous errors; 31 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 7 previous errors; 31 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0428.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `leaf` due to 8 previous errors; 31 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "df149ee639a79020f1dd2f56ef2c8f1cf1f4a3d124aca468173f5e87e128c1cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "df149ee639a79020f1dd2f56ef2c8f1cf1f4a3d124aca468173f5e87e128c1cd", kill_on_drop: false }`
[INFO] [stdout] df149ee639a79020f1dd2f56ef2c8f1cf1f4a3d124aca468173f5e87e128c1cd
